#ifndef PROGRESSDIALOG_H
#define PROGRESSDIALOG_H
#include "ui_ProgressDialog.h"

namespace Ui {

    class ProgressDialog;
}
/*!
  \class ProgressDialog
  Default Progress Dialog. Contains progressBar and label.
  */
class ProgressDialog : public QDialog {
    Q_OBJECT

public:
    /*!
      Constructor
      \param *parent Parent Widget.
      */
    ProgressDialog(QWidget *parent = 0);

    ~ProgressDialog();

public slots:
    /*!
      Set maximum value in Progress Bar
      \param value Maximum value
      */
    void setMaxValue(int value);

    /*!
      Set minimum value in Progress Bar
      \param value Minimum value
      */
    void setMinValue(int value);

    /*!
      Set maximum  and maximum values in Progress Bar
      \param min Minimum value
      \param max Maximum value
      */
    void setRange(int min, int max);


    /*!
      Set current value in Progress Bar
      \param value Current value to set.
      */
    void setValue(int value);


    /*!
      Set Text displayed above Progress Bar
      \param &text Reference to displayed text.
      */
    void setText(const QString& text);

private:
    Ui::ProgressDialog *ui;

};

#endif // PROGRESSDIALOG_H
